<?php
$session=new CHttpSession();
$session->open();
$i=$session['i'];

$pid=Yii::app()->request->getParam('pid', 0);
//$cate=Yii::app()->request->getParam('cate', 0);
$iid=Yii::app()->request->getParam('iid', 0);
?>
<tr<?php if($i%2==0) echo ' bgcolor="#efefef"';?>>
<td  align="center" class="th1"><?php echo $data->username?></td>
<td width="16%" align="center" class="th1"><?php echo $data->job?></td>
<td width="18%" align="center"><?php echo $data->education?></td>
<td width="18%" align="center">
    <a href="<?php echo Yii::app()->createUrl('manage/index',
        array('pid'=>$pid, 'cate'=>22, 'iid'=>$iid, 'id'=>$data->id));?>" >编辑</a>
    |
    <a href="<?php echo Yii::app()->createUrl('manage/delav',
        array('id'=>$data->id));?>" onclick="return confirm('确认删除？')">删除</a>

</td>
</tr>

<?php
$session['i']=$i+1;
?>